import request from "./http"

// 轮播图
export function getBanner() {
    return request({
        url: "/data/index/banner.json",
        methods: "get",
    })
}

// 排行榜
export function getRecommendRank() {
    return request({
        url: "/data/index/recommend.json",
        methods: "get",
    })
}


// 书架图
export function getShelfImg() {
    return request({
        url: "/data/index/shelfImg.json",
        methods: "get",
    })
}

// 粉丝榜
export function getShelf() {
    return request({
        url: "/data/books/shelf.json",
        methods: "get",
    })
}

// 粉丝榜
export function getClassification() {
    return request({
        url: "/data/books/classification.json",
        methods: "get",
    })
}
